// import { createApp } from 'vue'
// import App from './App.vue'
// import router from './router' // ./router/index.js
// import store from './store'
// import ElementPlus from 'element-plus';
// import 'element-plus/theme-chalk/index.css';
// //将来引入element-plus框架
// import '@/assets/css/iconfont.css';

// //设置全局$store
// // Vue.prototype.$store = store; //vue2.0
// const app = createApp(App);
// app.use(ElementPlus)
// app.mount('#app')
// app.config.globalProperties.$store = store;
// // use(router) 挂路由
// createApp(App).use(store).use(router).use(ElementPlus).mount('#app') // 5. 导入路由对象并且挂路由对象

import { createApp } from 'vue'
import '@/assets/css/iconfont.css'
import App from './App.vue'
import store from './store/index'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router/index'


const app = createApp(App)
app.use(store),
app.use(router),
app.use(ElementPlus),
app.mount('#app')


 




